package com.financing.platform.dao;


import java.math.BigDecimal;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.platform.dto.WxUserRewardLogDTO;
/**
 * wx_user_reward_log  
 * 用户奖励流水 数据访问层接口
 * @author lisu
 *
 */
public interface IWxUserRewardLogDao extends IBaseDao {

 	public int insert(WxUserRewardLogDTO wxUserRewardLog) throws SQLException;
    
    public void update(WxUserRewardLogDTO wxUserRewardLog) throws SQLException;
   
    public void updateForce(WxUserRewardLogDTO wxUserRewardLog) throws SQLException;
   
    public void delete(Integer id) throws SQLException;
	
    public List<WxUserRewardLogDTO> queryList(WxUserRewardLogDTO wxUserRewardLog)throws SQLException;
    
    public int queryListCount(WxUserRewardLogDTO wxUserRewardLog) throws SQLException;
   
    public WxUserRewardLogDTO loadById(Integer id) throws SQLException;
    
    //奖励金额
    public BigDecimal loadAllMoneyById(WxUserRewardLogDTO wxUserRewardLog) throws SQLException;
    //可提现奖励总额
	public BigDecimal loadRewardMoney(WxUserRewardLogDTO wxUserRewardLog)
			throws SQLException;

	public BigDecimal queryEarlyWarningMoney(Map<String, Object> paraMap) throws SQLException;
}
